<?php
include "conn.php";
$main = new main();
$id = $_POST['id'];
$value = $_POST['value'];
$tiaojian = $_POST['tiaojian'];
if ($tiaojian){
    $one = $_POST['one'];
    $two = $_POST['two'];
    $result = $main->jieyuechaxun($id,$value,$tiaojian,$one,$two);
}else{
    $result = $main->jieyuechaxun($id,$value,$tiaojian,1,2);
}
echo json_encode($result);
